home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / jung3.zip / NET$LOG.DAT < prev    next >
Text File  |  1991-07-27  |  3KB  |  91 lines

  1. rem    This sample file is for a sample server named  CHARON
  2. rem    The default network drive starts at Drive H:
  3. rem           Drive F: and Drive G: are reserved for CD-ROMs
  4. rem
  5.  
  6. break off
  7. dos break off
  8. map display off
  9.  
  10. write
  11. write "Good "; greeting_time; ", "; full_name; "."
  12. write "Logical connection #"; station; " on Server "; file_server; "."
  13.  
  14. map h:=CHARON/sys:\
  15. drive h:
  16.  
  17. map ins s1:=CHARON/sys:\public\netmenu
  18. map ins s2:=CHARON/sys:\public\autoexec
  19. map ins s3:=CHARON/sys:\public
  20. if member of "RHM" then map ins s4:=CHARON/sys:\rhm
  21.  
  22.  
  23. rem  This sets up a group drive letter based on which 'department' they are in
  24. map root l:=CHARON/sys:usr\%login_name
  25. if member of "ACCT" then  map root m:=CHARON/sys:grp\acct
  26. if member of "FIANCE" then map root m:=CHARON/sys:grp\finance
  27. if member of "PROC" then  map root m:=CHARON/sys:grp\proc
  28. if member of "DAC"  then  map root m:=CHARON/sys:grp\dac
  29. if member of "DOC"  then  map root m:=CHARON/sys:grp\doc
  30. if member of "GIS"  then  map root m:=CHARON/sys:grp\gis
  31. if member of "MIS"  then  map root m:=CHARON/sys:grp\mis
  32. if member of "IS"   then  map root m:=CHARON/sys:grp\is
  33.  
  34. if member of "PUBLIC-ADVANCED" then begin
  35.      map ins s4:=CHARON/sys:apps\extras
  36.      map ins s4:=CHARON/sys:public\advanced
  37.      end
  38. if member of "NORTON-UTILITIES" then begin
  39.      map ins s4:=CHARON/sys:apps\nu
  40.      end
  41. if member of "LANSIGHT" then begin
  42.      map ins s4:=CHARON/sys:apps\lansight
  43.      end
  44.  
  45. map h:=CHARON/sys:public\robot
  46. #ncopyscr h:\public\robot\allusers.scr
  47. #nchkcsys 40 15 1024
  48. #nlogaddr h:\public\robot\inbound\login.txt
  49.  
  50. dos set name=login_name
  51.  
  52. map h:=CHARON/sys:usr\%login_name
  53.  
  54. if member of "RESEARCH" then begin
  55.      #ncopyscr h:\public\robot\research.scr
  56.      end
  57.  
  58. if login_name = "INSTALL" then begin
  59.      map h:=CHARON/sys:grp\mis\master
  60.      end
  61.  
  62. if p_station = "000086E25BBB" then begin
  63.      #capture /j=dac-hpiid
  64.      end
  65. if p_station = "000086E23B6F" then begin
  66.      #capture /j=dac-hpii
  67.      end
  68. if p_station = "000086E30823" then begin
  69.      #capture /j=doc-lq1000
  70.      end
  71. if p_station = "000086E2A46E" then begin
  72.      #capture /j=doc-hpiip
  73.      end
  74.  
  75.  
  76. if login_name = "ANYWHERE" then begin
  77.      exit "Y:startup4.bat"
  78.      end
  79.  
  80. if member of "NO-NETMENU" then begin
  81.      if not member of "RHM" then begin
  82.           if login_name = "BACKUP" then begin
  83.                exit 
  84.                end
  85.           exit "Y:minimum.bat"
  86.           end
  87.      exit "Y:startup2.bat"
  88.      end
  89.  
  90. exit "Y:startup.bat"
  91.